package com.wnxy.exception;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class RootException extends RuntimeException{
    private Integer code;
    private String message;
    public RootException(Integer code,String message) {
        this.code = code;
        this.message = message;
    }
}
